﻿namespace LS.Nc6.Web.Entry.ViewModel.UI
{
    /// <summary>
    /// 分页控件
    /// </summary>
    public class PaginationVm
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageNo { get; set; }
        /// <summary>
        /// 每页数据条数
        /// </summary>
        public int PageSize { get; set; } = 10;
        /// <summary>
        /// 总页码
        /// </summary>
        public int TotalPage { get; set; }
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalRows { get; set; }

        /// <summary>
        /// 上一页是否可用
        /// </summary>
        public bool IsPreviousPage { get; set; }

        /// <summary>
        /// 下一页是否可用
        /// </summary>
        public bool IsNextPage { get; set; }

        /// <summary>
        /// 数字分页集合
        /// </summary>
        public List<int> NumPage { get; set; }

        /// <summary>
        /// 频道Id
        /// </summary>
        public long ChannelId { get; set;}

        /// <summary>
        ///频道索引
        /// </summary>
        public  string ChanIndex { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string PathUrl { get; set; }

    }
}
